all: server client
server:server.cc
	g++ -o $@ $^ -std=c++11 -lmuduo_net -lmuduo_base -lpthread

client:client.cc
	g++ -o $@ $^ -std=c++11 -lmuduo_net -lmuduo_base -lpthread

.PHONY:clean
clean:
	rm -f server client